/*******************************************
  Jose Andres Lara Vecino

  Author       : $$Author: cainlara@gmail.com $$
  Last CheckIn : $$Date: 2012-06-07 19:14:46 +0000 (Thu, 07 Jun 2012) $$
  Revision     : $$Revision: 61 $$
*******************************************/

package persistencia;

import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * Super clase para los persistentes.
 * 
 * @author jose.lara 06.06.2012
 */
@MappedSuperclass
public class GenericoPersistente implements Serializable {
    private static final long serialVersionUID = 1L;
    
    @Id
    private long id = IAtributos.LLAVE_SIN_GUARDAR;
    
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

}